#!/bin/sh
set -ex

chmod +x ./scripts/*
chmod +x ./RESTful/frpc

if [ ! -d ./logs/ ];then
  mkdir logs
fi

./RESTful/frpc -c ./RESTful/frpc.ini > ./logs/frpc.log & python3 ./RESTful/RESTful.py